package cn.siat.system.api.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import cn.siat.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 关联账户
 * @Author: Administrator
 * @Date: 2022-10-23
 * @Version: V1.0
 */
@Data
@TableName("sys_releate_account")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "sys_releate_account对象", description = "关联账户")
public class SysReleateAccount implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**
     * 系统名称
     */
    @Excel(name = "系统名称", width = 15)
    @ApiModelProperty(value = "系统名称")
    private String systemName;
    /**
     * 系统编码
     */
    @Excel(name = "系统编码", width = 15)
    @ApiModelProperty(value = "系统编码")
    private String systemCode;
    /**
     * 绑定状态:0.未绑定,1.已绑定
     */
    @Excel(name = "绑定状态:0.未绑定,1.已绑定", width = 15)
    @ApiModelProperty(value = "绑定状态:0.未绑定,1.已绑定")
    private Integer bindStatus;
    /**
     * 绑定时间
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED )
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "绑定时间")
    private Date bindTime;
    /**
     * 绑定账户
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED )
    @Excel(name = "绑定账户", width = 15)
    @ApiModelProperty(value = "绑定账户")
    private String bindAccount;
    /**
     * 绑定密码
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED )
    @Excel(name = "绑定密码", width = 15)
    @ApiModelProperty(value = "绑定密码")
    private String bindPassword;
}
